import React from 'react'
import type { PropsWithChildren } from 'react'
import Icon from 'react-native-vector-icons/FontAwesome'

type IconParsms = PropsWithChildren<{ name: string }>

const Icons = (props: IconParsms) => {
  switch (props.name) {
    case 'circle':
      return (<Icon name='circle-thin' size={38} color="#F7CD2E" />)
      break;
    case 'cross':
      return (<Icon name="times" size={38} color="#38CC77" />)
      break;
    default:
      return (<Icon name='pencil' size={38} color='#0D0D0D' />)
      break;
  }
}

export default Icons